package com.briup.dao;

import com.briup.bean.Shop;
import com.briup.bean.ShopCar;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface IShopDao{
    void updateSalesVolume(List<ShopCar> list);
    void updateVisitVolume(Long shopId);
    void updateStockNum(List<ShopCar> list);
    List<Shop> findByDiscountOrderBySalesVolumeDesc(boolean discount);
    List<Shop> findByCategoryId(Long categoryId);
    List<Shop> findByNameContaining(String shopName);
    List<Shop> findAllShopByVisitVolumeDesc();
    Shop findShopById(long id);
}
